package Modelo;

public class PsOrgLocation extends BaseModelo
{
  private static String tableName = "PS_ORG_LOCATION";
  private static EstructuraFila estructuraFila = new EstructuraFila();

  public static void setEstructuraFila(EstructuraFila aEstructuraFila)
  {
    estructuraFila = aEstructuraFila;
  }

  public static String getTableName()
  {
    return tableName;
  }

  public static EstructuraFila getEstructuraFila()
  {
    return estructuraFila;
  }

  public PsOrgLocation(String ext_org_id) {
    blanquearCamposObligatorios(estructuraFila);

    setExt_org_id(ext_org_id);
  }

  public void setExt_org_id(String ext_org_id)
  {
    asignarCampo("EXT_ORG_ID", ext_org_id);
  }

  public void setOrg_location(String org_location) {
    asignarCampo("ORG_LOCATION", org_location);
  }

  public void setDescr(String descr) {
    asignarCampo("DESCR", descr);
  }

  public void setDescrshort(String descrshort) {
    asignarCampo("DESCRSHORT", descrshort);
  }

  public void setCountry(String country) {
    asignarCampo("COUNTRY", country);
  }

  public void setAddress1(String address1) {
    asignarCampo("ADDRESS1", address1);
  }

  public void setAddress2(String address2) {
    asignarCampo("ADDRESS2", address2);
  }

  public void setAddress3(String address3) {
    asignarCampo("ADDRESS3", address3);
  }

  public void setAddress4(String address4) {
    asignarCampo("ADDRESS4", address4);
  }

  public void setCity(String city) {
    asignarCampo("CITY", city);
  }

  public void setNum1(String num1) {
    asignarCampo("NUM1", num1);
  }

  public void setNum2(String num2) {
    asignarCampo("NUM2", num2);
  }

  public void setHouse_type(String house_type) {
    asignarCampo("HOUSE_TYPE", house_type);
  }

  public void setAddr_field1(String addr_field1) {
    asignarCampo("ADDR_FIELD1", addr_field1);
  }

  public void setAddr_field2(String addr_field2) {
    asignarCampo("ADDR_FIELD2", addr_field2);
  }

  public void setAddr_field3(String addr_field3) {
    asignarCampo("ADDR_FIELD3", addr_field3);
  }

  public void setCounty(String county) {
    asignarCampo("COUNTY", county);
  }

  public void setState(String state) {
    asignarCampo("STATE", state);
  }

  public void setPostal(String postal) {
    asignarCampo("POSTAL", postal);
  }

  public void setGeo_code(String geo_code) {
    asignarCampo("GEO_CODE", geo_code);
  }

  public void setIn_city_limit(String in_city_limit) {
    asignarCampo("IN_CITY_LIMIT", in_city_limit);
  }

  public void setChg_addr(String chg_addr) {
    asignarCampo("CHG_ADDR", chg_addr);
  }

  public void setChg_other(String chg_other) {
    asignarCampo("CHG_OTHER", chg_other);
  }

  public void setUrl_address(String url_address) {
    asignarCampo("URL_ADDRESS", url_address);
  }

  public void setEmailid(String emailid) {
    asignarCampo("EMAILID", emailid);
  }

  public void setEdi_address(String edi_address) {
    asignarCampo("EDI_ADDRESS", edi_address);
  }

  public AtributoValor getExt_org_id() {
    return obtenerAtributoValor("EXT_ORG_ID");
  }

  public AtributoValor getOrg_location() {
    return obtenerAtributoValor("ORG_LOCATION");
  }

  public AtributoValor getDescr() {
    return obtenerAtributoValor("DESCR");
  }

  public AtributoValor getDescrshort() {
    return obtenerAtributoValor("DESCRSHORT");
  }

  public AtributoValor getCountry() {
    return obtenerAtributoValor("COUNTRY");
  }

  public AtributoValor getAddress1() {
    return obtenerAtributoValor("ADDRESS1");
  }

  public AtributoValor getAddress2() {
    return obtenerAtributoValor("ADDRESS2");
  }

  public AtributoValor getAddress3() {
    return obtenerAtributoValor("ADDRESS3");
  }

  public AtributoValor getAddress4() {
    return obtenerAtributoValor("ADDRESS4");
  }

  public AtributoValor getCity() {
    return obtenerAtributoValor("CITY");
  }

  public AtributoValor getNum1() {
    return obtenerAtributoValor("NUM1");
  }

  public AtributoValor getNum2() {
    return obtenerAtributoValor("NUM2");
  }

  public AtributoValor getHouse_type() {
    return obtenerAtributoValor("HOUSE_TYPE");
  }

  public AtributoValor getAddr_field1() {
    return obtenerAtributoValor("ADDR_FIELD1");
  }

  public AtributoValor getAddr_field2() {
    return obtenerAtributoValor("ADDR_FIELD2");
  }

  public AtributoValor getAddr_field3() {
    return obtenerAtributoValor("ADDR_FIELD3");
  }

  public AtributoValor getCounty() {
    return obtenerAtributoValor("COUNTY");
  }

  public AtributoValor getState() {
    return obtenerAtributoValor("STATE");
  }

  public AtributoValor getPostal() {
    return obtenerAtributoValor("POSTAL");
  }

  public AtributoValor getGeo_code() {
    return obtenerAtributoValor("GEO_CODE");
  }

  public AtributoValor getIn_city_limit() {
    return obtenerAtributoValor("IN_CITY_LIMIT");
  }

  public AtributoValor getChg_addr() {
    return obtenerAtributoValor("CHG_ADDR");
  }

  public AtributoValor getChg_other() {
    return obtenerAtributoValor("CHG_OTHER");
  }

  public AtributoValor getUrl_address() {
    return obtenerAtributoValor("URL_ADDRESS");
  }

  public AtributoValor getEmailid() {
    return obtenerAtributoValor("EMAILID");
  }

  public AtributoValor getEdi_address() {
    return obtenerAtributoValor("EDI_ADDRESS");
  }

  static
  {
    estructuraFila.adicionar("EXT_ORG_ID", "S", true, "getExt_org_id");
    estructuraFila.adicionar("ORG_LOCATION", "N", true, "getOrg_location");
    estructuraFila.adicionar("DESCR", "S", true, "getDescr");
    estructuraFila.adicionar("DESCRSHORT", "S", true, "getDescrshort");
    estructuraFila.adicionar("COUNTRY", "S", true, "getCountry");
    estructuraFila.adicionar("ADDRESS1", "S", true, "getAddress1");
    estructuraFila.adicionar("ADDRESS2", "S", true, "getAddress2");
    estructuraFila.adicionar("ADDRESS3", "S", true, "getAddress3");
    estructuraFila.adicionar("ADDRESS4", "S", true, "getAddress4");
    estructuraFila.adicionar("CITY", "S", true, "getCity");
    estructuraFila.adicionar("NUM1", "S", true, "getNum1");
    estructuraFila.adicionar("NUM2", "S", true, "getNum2");
    estructuraFila.adicionar("HOUSE_TYPE", "S", true, "getHouse_type");
    estructuraFila.adicionar("ADDR_FIELD1", "S", true, "getAddr_field1");
    estructuraFila.adicionar("ADDR_FIELD2", "S", true, "getAddr_field2");
    estructuraFila.adicionar("ADDR_FIELD3", "S", true, "getAddr_field3");
    estructuraFila.adicionar("COUNTY", "S", true, "getCounty");
    estructuraFila.adicionar("STATE", "S", true, "getState");
    estructuraFila.adicionar("POSTAL", "S", true, "getPostal");
    estructuraFila.adicionar("GEO_CODE", "S", true, "getGeo_code");
    estructuraFila.adicionar("IN_CITY_LIMIT", "S", true, "getIn_city_limit");
    estructuraFila.adicionar("CHG_ADDR", "S", true, "getChg_addr");
    estructuraFila.adicionar("CHG_OTHER", "S", true, "getChg_other");
    estructuraFila.adicionar("URL_ADDRESS", "S", true, "getUrl_address");
    estructuraFila.adicionar("EMAILID", "S", true, "getEmailid");
    estructuraFila.adicionar("EDI_ADDRESS", "S", false, "getEdi_address");
  }
}